package com.kzx;

public class TestNeijiazai {
    public static void main(String[] args) {
        System.out.println(B.str);
        while (true);
    }
}

class A {
    public static String str="kzx11";
    static {
        System.out.println("A的static块。。。");
    }

}
class B extends A {
    static {
        System.out.println("B的static块。。。");
    }

}